package dao;

import bean.wareHouse;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface wareHouseDao {
    /*增加仓库的抽象方法*/
    int wareHouseAdd(String wareHouseName,int wareHouseCap);
    /*删除仓库的抽象方法*/
    int wareHouseDel(int warehouseId);
    /*修改仓库的抽象方法*/
    int wareHouseChange(int wareHouseId,String wareHouseName,int wareHouseCap);
    /*查询仓库的抽象方法*/
    public List<wareHouse> whList();
    /*查询一个仓库的抽象方法*/
    wareHouse wareHouseSingal(int wareHouseId);
    /*查询一个仓库的通过名字抽象方法*/
    public List<wareHouse> wareHouseOne(String wareHouseName);
}
